<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>
	交易记录查询
</title>
		<link href="../css/bgcss.css"
			rel="stylesheet" type="text/css" />
<script type="text/javascript">
/*
function iframeResizeHeight(frame_name,body_name,offset) {	
	parent.document.getElementById(frame_name).height=document.getElementById(body_name).offsetHeight+offset;
}

function Resize(){
	
 var frame_name="frame_content";
 var body_name="content"; 
 if(parent.document.getElementById(frame_name)){
  return iframeResizeHeight(frame_name,body_name,0);
 }
}
<body onload="Resize();">
*/
</script>
<style type="text/css">
body {
	font: "黑体", "隶书", "宋体", "幼圆", "新宋体";
	font-size:12px;	
}
#tab {
	width:250px;
	height:auto;
	border: 1px solid #ccc;
	padding: 0 10px 0 10px;
	margin:0 auto;
	margin-top:20px;
}
#tab_b {
	width:250px;
	border-top:1px solid #ccc;
	font-weight:bold;
}

</style>
</head>
<body>

			<!-- 正文开始 -->
	<div id="tab">
  <table width="250"  border="0" >

    <tr >
      <td width="100px"  height="25">名称</td>
      <td align="right">单价</td>
      <td align="right">数量</td>
      <td align="right">金额</td>
    </tr>
      <c:forEach items="${list1}" var="item" varStatus="var">
    <tr>
    <!--  <td>${item.CommID}</td>  -->
      <td>${item.fName}</td>     
      <td align="right">${item.PSale}</td>
      <td align="right">${item.Qty}</td>
      <td align="right">${item.AmtSum}</td>
    </tr>
  </c:forEach>

  </table>
 
  <div id="tab_b">
    <table width="250" border="0">
      <tr>
        <td width="100px">合计</td>
        <td width="100px"></td>
        <td width="100px"></td>
        <td align="right">￥</td>
        <td width="40px">${AmtAdd}</td>
      </tr>
        <c:forEach items="${list2}" var="item" varStatus="var">
            <tr>
            <td width="100px"></td>
        <td width="100px">${item.PayName}</td>
        <td width="100px">${item.CardNo}</td>
        <td align="right">￥</td>
        <td>${item.AmtPay}</td>
      </tr>
      </c:forEach>

    </table>
  </div>
   </div>
				</body>
				<!-- 正文结束 -->	
			
				</html>